package com.szholly.plug.cms.entity.core;

import com.szholly.data.general.*;

/**
 *  敏感词
 */
public class SensitivityRow extends RowBase {

	private static final long serialVersionUID = 1L;

	/**
	 * 敏感词
	 */
	public final static String FIELD_Search = "search";
	
	/**
	 * 替换词
	 */
	public final static String FIELD_Replacement = "replacement";
	
	/**
	 * sensitivity_id
	 */
	public final static String FIELD_SensitivityId = "sensitivity_id";
	
	
	
	/**
	 * 获取敏感词
	 */
	public String getSearch() {
		return (String) getValue(GlobalDataType.String, FIELD_Search);
	}

	/**
	 * 设置敏感词
	 */
	public void setSearch(String value) {
		setValue(FIELD_Search, value);
	}
	
	/**
	 * 获取替换词
	 */
	public String getReplacement() {
		return (String) getValue(GlobalDataType.String, FIELD_Replacement);
	}

	/**
	 * 设置替换词
	 */
	public void setReplacement(String value) {
		setValue(FIELD_Replacement, value);
	}
	
	/**
	 * 获取sensitivity_id
	 */
	public Integer getSensitivityId() {
		return (Integer) getValue(GlobalDataType.Int32, FIELD_SensitivityId);
	}

	/**
	 * 设置sensitivity_id
	 */
	public void setSensitivityId(Integer value) {
		setValue(FIELD_SensitivityId, value);
	}
}